<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<IList<Complaint.Models.Dtos.Category>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Category
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="<%=Url.Content("~/Scripts/Complaint/Admin/Views.Category.Index.js")%>" type="text/javascript"></script>

    <div id="addDialog" title="Create a category">
    </div>
    <div>
        <table class="no_border">
            <tr>
                <td>
                    <a id="add" href="#"><span class="ui-icon ui-icon-document" title="Create a new root category">
                        &nbsp;</span> </a>
                </td>
                <td>
                    <a id="expand" href="#"><span class="ui-icon ui-icon-folder-open" title="Expand all">
                        &nbsp;</span> </a>
                </td>
                <td>
                    <a id="collapse" href="#"><span class="ui-icon ui-icon-folder-collapsed" title="Collapse all">
                        &nbsp;</span></a>
                </td>
            </tr>
        </table>
    </div>
    <div id="grid">
        <% Html.RenderPartial("List"); %>
    </div>
</asp:Content>
